package edu.tyut.ncp.service;

import edu.tyut.ncp.entity.Address;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface AddressService {
    void add(Address address);

    List<Address> selectByOwnName();

    Address selectDefaultByOwnName();


    void defaultAddressInfoUpdate(Address address);

    void update(Address address);

    boolean delete(Integer id);
}
